package com.rongke.model;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.rongke.utils.DateJsonDeserializer;
import com.rongke.utils.DateJsonSerializer;
import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * @DeliveryItem
 * @配送方案子选项(delivery_item)
 * @version : Ver 1.0
 */
@TableName("delivery_item")
public class DeliveryItem implements Serializable {
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**
	 * @备注:配送选项表id
	 * @字段:id BIGINT(19)
	 */
	@TableId(type = IdType.AUTO)
	private java.lang.Long id;


	/**
	 * @备注:地区编号（1 江浙沪 2 四川等 3 北京等 4 甘肃等）
	 * @字段:area_no INT(10)
	 */
	private java.lang.Integer areaNo;


	/**
	 * @备注:配送编号（对应delivery_plan的num）
	 * @字段:num INT(10)
	 */
	private java.lang.Integer num;
	/**
	 * 备注:配送编号（对应delivery_plan的num）
	 */
	@TableField(exist = false)
	private DeliveryPlan n;


	/**
	 * @备注:首件价格
	 * @字段:first_postage DOUBLE(3)
	 */
	private java.lang.Double firstPostage;


	/**
	 * @备注:续件价格
	 * @字段:continue_postage DOUBLE(3)
	 */
	private java.lang.Double continuePostage;


	public DeliveryItem(){
	}

	public DeliveryItem(
		java.lang.Long id
	){
		this.id = id;
	}



	public void setId(java.lang.Long id) {
		this.id = id;
	}

	public java.lang.Long getId() {
		return this.id;
	}


	public void setAreaNo(java.lang.Integer areaNo) {
		this.areaNo = areaNo;
	}

	public java.lang.Integer getAreaNo() {
		return this.areaNo;
	}

	public void setNum(java.lang.Integer num) {
			this.num = num;
			}

	public java.lang.Integer getNum() {
			return this.num;
	}
	public void setN(DeliveryPlan n) {
		this.n = n;
	}

	public DeliveryPlan getN() {
		return this.n;
	}


	public void setFirstPostage(java.lang.Double firstPostage) {
		this.firstPostage = firstPostage;
	}

	public java.lang.Double getFirstPostage() {
		return this.firstPostage;
	}


	public void setContinuePostage(java.lang.Double continuePostage) {
		this.continuePostage = continuePostage;
	}

	public java.lang.Double getContinuePostage() {
		return this.continuePostage;
	}
}
